package com.example.javaee_library.Entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 图书实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book {

    private int book_id;// 图书ID

    private String name;// 图书名称

    private int number;// 馆藏数量

    @Override
    public String toString() {
        return "Book [bookId=" + book_id + ", name=" + name + ", number=" + number + "]";
    }


}
